[student@server1 bin]$ cat showargs
#!/bin/bash
for ARG in "$*"; do
echo $ARG
done
[student@server1 bin]$ ./showargs 1 2 3
1 2 3
[student@server1 bin]$ cat showargs
#!/bin/bash
for ARG in "$@"; do
echo $ARG
done
[student@server1 bin]$ ./showargs 1 2 3
1
2
3